﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using System.Data.Linq.Mapping;

namespace Interfacultades.Models
{
    [Table(Name = "Deporte")]
    public class Deporte
    {
        [ScaffoldColumn(false)]
        [Column(IsPrimaryKey = true, IsDbGenerated = true, AutoSync = AutoSync.OnInsert)]
        public int IdDeporte { get; set; }

        [Required]
        [DisplayName("Deporte")]
        [Column]public string Nombre { get; set; }
    }
    
    
}